How to print triangle of zero and one pattern using java programming